<?php

/**
 *      [Discuz!] (C)2001-2099 Comsenz Inc.
 *      This is NOT a freeware, use is subject to license terms
 *
 *      $Id: memcp.inc.php 12326 2010-07-05 06:42:42Z monkey $
 */

if(!defined('IN_DISCUZ')) {
	exit('Access Denied');
}

if(!$_G['uid']) {
	showmessage('not_loggedin', NULL, array(), array('login' => 1));
}
$query = DB::fetch_first("SELECT * FROM ".DB::table('jlcw_mypet')." WHERE uid=".$_G['uid']);
$petsl=DB::num_rows($query)+1;
$pet = DB::fetch_first("SELECT * FROM ".DB::table('jlcw_mypet')." WHERE uid=".$_G['uid']." and sx=$petsl");
include template('jlcw:shop');
?>